@import "../base/mixin";
@import "../base/button";
// @import "../base/iCheck";
@import "../icon/sprite/png-sprite";
html,
body {
    height: 100%;
}

body {
    .layui-input {
        // border-width: 1px;
        // border-color: #D1D1D1;
        // border-left-style: solid;
        height: 32px;
        border-width: 0;
        text-align: left !important;
    }
    .beg-login-icon {
        position: relative;
        >i {
            display: block;
            margin: auto;
            top: 0;
            left: 0;
            bottom: 0;
            right: 0;
        }
    }
}

// 输入框小号尺寸-如验证码
.layipt-small {
    width: 218px !important;
}

// 每行功能块浮动显示
.layipt-linebar {
    @include clearfix;
    >div {
        float: left;
    }
}

// 验证码图片
.layipt-code {
    background-color: #ccc;
    width: 90px;
    height: 36px;
    margin-left: 19px;
    margin-top: -2px;
    >img {
        display: block;
        width: 100%;
        height: 100%;
    }
    &:hover,
    &:active {
        cursor: pointer;
    }
}

// icon元素
.beg-logo {
    &:before {
        content: "";
        display: inline-block;
        @include sprite($icon-loginL);
        position: relative;
        top: 4px;
    }
}

.icon-user {
    @include sprite($icon-iptUser);
}

.icon-pwd {
    @include sprite($icon-Pwd);
}

.icon-yzm {
    @include sprite($icon-iptYzm);
}

.beg-login-bg {
    //background: url(../Images/login-bg-1.jpg) no-repeat center center fixed;
    background-color: #F3F3F3;
    position: relative;
}

.login-info {
    >a {
        @include border-radius(8px);
        width: 100%;
    }
}

.beg-login-box {
    width: 468px;
    height: 354px;
    position: absolute;
    margin: auto;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.407843);
    border-radius: 10px;
    // color: aliceblue;
    box-shadow: 0 2px 1px 1px #999999;
}

label[for="rember"] {
    display: table;
    width: 100%;
    color: #898989;
    >div,
    >span {
        display: table-cell;
        padding-left: 3px;
    }
}

.beg-header {
    color: #4b494a;
    width: 100%;
    margin: 44px 0 0 0;
    text-align: center;
    font-size: 19px;
}

.beg-login-box header {
    height: 39px;
    padding: 10px;
    border-bottom: 1px solid aliceblue;
}

.beg-login-box header h1 {
    text-align: center;
    font-size: 25px;
    line-height: 40px;
}

.beg-login-box .beg-login-main {
    // height: 185px;
    // padding: 30px 76px 0;
    padding: 30px 0 0 0;
    width: 329px;
    margin: 0 auto;
}

.beg-login-main .layui-form-item {
    // position: relative;
    width: 100%;
    margin-bottom: 25px;
    display: table;
    border: 1px solid #D1D1D1;
    @include border-radius(5px);
    overflow: hidden;
    .beg-login-icon {
        border-width: 1px;
        border-color: #D1D1D1;
        border-right-style: solid;
    }
    .beg-login-icon,
    .layui-input {
        display: table-cell;
        background-color: #fff;
        text-align: center;
        i {
            color: #656565;
        }
    }
}

.rember-bar {
    margin-bottom: 10px;
}

.beg-foot {
    text-align: center;
    margin-top: 32px;
}

// .beg-login-main .layui-form-item .beg-login-icon {
//     position: absolute;
//     color: #cccccc;
//     top: 10px;
//     left: 10px;
// }
.beg-login-icon {
    width: 36px;
}

.beg-login-main .layui-form-item input {
    // padding-left: 34px;
}

.beg-login-box footer {
    height: 35px;
    padding: 10px 10px 0 10px;
}

.beg-login-box footer p {
    line-height: 35px;
    text-align: center;
}

.beg-pull-left {
    float: left !important;
}

.beg-pull-right {
    float: right !important;
}

.beg-clear {
    clear: both;
}

.beg-login-remember {
    line-height: 38px;
}

.beg-login-remember .layui-form-switch {
    margin-top: 0px;
}

.beg-login-code-box {
    position: relative;
    padding: 10px;
}

.beg-login-code-box input {
    position: absolute;
    width: 100px;
}

.beg-login-code-box img {
    cursor: pointer;
    position: absolute;
    left: 115px;
    height: 38px;
}

// layui-定制
.layui-form-onswitch {
    background-color: #49BCCF;
    border-color: #49BCCF;
}